<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"+ request.getServerName() + ":" + request.getServerPort()+ path + "/";
%>
<!DOCTYPE HTML>
<html >
<head>
<title>资金链预测与融资模型</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<jsp:include page="../../common/jsp/sys.jsp"></jsp:include>

</head>
<style type="text/css">
/* .ui-progressbar-value {
	background-image: url(images/pbar-ani.gif);
} */

/* .ui-progressbar-value1 {
	background-image: url(images/pbar-ani1.gif);
}
 */
* {
	margin: 0 auto;
	padding: 0px;
	font-family: "微软雅黑";
	font-size: 12px;
}

/* .ui-slider-range {
	background: #6A6A6A;
}

.ui-slider-handle {
	border-color: #000000;
}

.ui-slider-range {
	background: #729fcf;
}

.ui-slider-handle {
	border-color: #729fcf;
} */

.document {
	margin: 0 auto;
	padding: 0px;
	width: 996px;
	height: 700px;
	font-family: "微软雅黑";
	vertical-align: middle;
	border: 1px solid #C2D4D8;
	margin-top:10px;
	/* background-color:white; */
}

input,span {
	border: 0;
	font-weight: bold;
	width: 90px;
	-webkit-border-radius: 45px;
	border-radius: 45px;
	height: 19px;
	text-align: right;
}

input:focus {
	background-color: #FF6;
}

.top {
	width: 100%;
	height: 5%;
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 20px;
}

.title {
	text-align: center;
	font-family: "微软雅黑";
	font-size: 25px;
	color: #000;
	width: 50%;
	font-weight: bold;
	text-transform: capitalize;
	letter-spacing: 8px;
	text-shadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0
		#b9b9b9, 0 5px 0 #aaa, 0 6px 1px rgba(0, 0, 0, .1), 0 0 5px
		rgba(0, 0, 0, .1), 0 1px 3px rgba(0, 0, 0, .3), 0 3px 5px
		rgba(0, 0, 0, .2), 0 5px 10px rgba(0, 0, 0, .25), 0 10px 10px
		rgba(0, 0, 0, .2), 0 20px 20px rgba(0, 0, 0, .15);
}

.progressBar {
	
}

/* .progressBar .x-progress-inner {
	background: white;
}

.progressBar .x-progress-bar {
	background: transparent url(images/bg1.jpg);
	border-top: 5px;
	height: 20px;
	border-bottom: -20px;
	border-right: 0;
}

.progressBar1 {
	border-color: red;
}

.progressBar1 .x-progress-inner {
	background: white;
}

.progressBar1 .x-progress-bar {
	background: transparent url(images/bgred.jpg) repeat-x 0 0;
	border-top: 0;
	border-bottom: -20px;
	border-right: 0;
} */

.middle {
	width: 100%;
	height: 45%;
	border: 0px solid red;
}

.bottom {
	width: 100%;
	height: 66%;
	margin-left: -1px;
	margin-top: -460px;
	border: 0px solid red;
}

.middle_left {
	margin: 0 auto;
	padding: 0px;
	width: 45%;
	height: 100%;
	margin-left: 0px;
	border: 0px solid black;
}

.middle_left ul {
	list-style: none;
}

.fl {
	position: relative;
	top: 150px;
	left: 0px;
	border: 0px solid red;
	width: 220px;
	height: 50px;
	background-image: url("images/gg1.jpg");
	-webkit-border-radius: 20px;
	border-radius: 20px;
}

.middle_left ul li {
	float: left;
	width: 24.1%;
}

.middle .middle_right {
	position: relative;
	left: 22%;
	top: -363px;
	height: 100%;
	width: 53%;
	border: 0px solid yellow;
}

.middle_right ul {
	list-style: none;
}

.middle_right ul li {
	border: 0px solid yellow;
	margin-left: 5px;
	width: 40%;
}

.bottom ul {
	list-style: none;
}

.bottom ul li {
	width: 22.8%;
	height: 100%;
	border: 0px solid #FF34B3;
	float: left;
}
</style>

<body>
   <jsp:include page="../../common/jsp/common.jsp"></jsp:include>
	<div class="document image_divss">

		<!-- <div class="top"></div> -->
         <div class="mainshell">资金链预测与融资模型</div>
		<div class="middle">

			<div class="middle_left">

				<ul>
					<li>
						<table border="0" cellpadding="0" cellspacing="0" width="90%"
							height="100%" style="text-align: center">
							<tr height="40px">
								<td><span class="hh">结构性资产项</span></td>
							</tr>
							<tr>
								<td><br> 可供出售金融资产 <br> <span><input
										type="text" id="kgcsjrzcIdinput" value=""
										></span>
								<td>
							<tr>
							<tr height="45px">
								<td>
									<div id="kgcsjrzcId" style="margin-top: -12px;"></div>
								</td>
							</tr>
							<tr height="30px">
								<td>固定资产<br> <span><input id="gdzcIdinput"
										value="200" "></span>
								<td>
							<tr>
							<tr height="45px">
								<td>
									<div id="gdzcId" style="margin-top: -18px;"></div>
								</td>
							</tr>
							<tr height="30px">
								<td>无形资产<br> <span><input id="wxzcIdinput"
										value="200" "></span>
								<td>
							<tr>
							<tr height="45px">
								<td>
									<div id="wxzcId" style="margin-top: -20px;"></div>
								</td>
							</tr>
						</table>
					</li>
					<li style="padding-left: 0px">

						<table border="0" cellpadding="0" cellspacing="0" width="90%"
							height="100%" style="text-align: center">
							<tr height="40px">
								<td><span class="hh">结构性负债项</span></td>
							</tr>
							<tr>
								<td><br> 长期借款 <br> <span><input
										id="cqjkIdinput" value="200" "></span>
								<td>
							<tr>
							<tr height="45px">
								<td>
									<div id="cqjkId" style="margin-top: -12px;"></div>
								</td>
							</tr>
							<tr height="30px">
								<td>实收资本<br> <span><input id="sszbIdinput"
										value="200" "></span>
								<td>
							<tr>
							<tr height="45px">

								<td>
									<div id="sszbId" style="margin-top: -18px;"></div>
								</td>
							</tr>
							<tr height="30px">
								<td>未分配利润<br> <span><input id="wfplrIdinput"
										value="200" "></span>
								<td>
							<tr>
							<tr height="45px">
								<td>
									<div id="wfplrId" style="margin-top: -20px;"></div>
								</td>
							</tr>
						</table>
					</li>
					<li style="padding-left: 0px">
						<table border="0" cellpadding="0" cellspacing="0" width="90%"
							height="100%" style="text-align: center">
							<tr height="40px">
								<td><span class="hh">经营性资产项</span></td>
							</tr>
							<tr>
								<td><br> 应收账款 <br> <span><input
										id="yszkIdinput" value="200" ></span>
								<td>
							<tr>
							<tr height="45px">

								<td>
									<div id="yszkId" style="margin-top: -12px;"></div>
								</td>
							</tr>
							<tr height="30px">
								<td>其它应收款<br> <span><input id="qtyskIdinput"
										value="200" ></span>
								<td>
							<tr>
							<tr height="45px">

								<td>
									<div id="qtyskId" style="margin-top: -18px;"></div>
								</td>

							</tr>


							<tr height="30px">
								<td>存货<br> <span><input id="chIdinput"
										value="200" ></span>
								<td>
							<tr>
							<tr height="45px">

								<td>
									<div id="chId" style="margin-top: -20px;"></div>
								</td>

							</tr>
						</table>

					</li>

					<li style="padding-left: 0px">

						<table border="0" cellpadding="0" cellspacing="0" width="90%"
							height="100%" style="text-align: center">
							<tr height="40px">
								<td><span class="hh">经营性负债项</span></td>
							</tr>

							<tr>
								<td><br> 应付账款 <br> <span><input
										id="yfzkIdinput" value="200" "></span>
								<td>
							<tr>
							<tr height="45px">

								<td>
									<div id="yfzkId" style="margin-top: -12px;"></div>
								</td>
							</tr>

							<tr>
								<td>应付职工薪酬<br> <span><input id="yfzgxcIdinput"
										value="200" ></span>
								<td>
							<tr>
							<tr height="45px">

								<td>
									<div id="yfzgxcId" style="margin-top: -18px;"></div>
								</td>

							</tr>

							<tr>
								<td>其他应付款<br>

									<center>
										<span><input id="qtyfkIdinput" value="200"
											></span>
									</center>
								<td>
							<tr>
							<tr height="45px">

								<td>
									<div id="qtyfkId" style="margin-top: -20px;"></div>
								</td>

							</tr>


						</table>

					</li>

				</ul>

			</div>


			<div class="middle-middle"
				style="border: 0px solid red; width: 15%; height: 100%; margin-left: 45%; margin-top: -31.8%">

				<ul style="margin-top: 0px">

					<li style="margin-top: 12px;">

						<table border="0" style="margin-left: 5px; text-align: center;"
							width="90%" height="10%">

							<tr>
								<td>结构性负债<br> <span id="jgxfzspan">200</span>

								</td>
							</tr>
							<tr>

								<td style="height: 20px">

									<div id="jgxfzId" style="width: 130px; height: 25px"></div>

								</td>

							</tr>


						</table>

					</li>
					<li><img src="images/l1.jpg"
						style="position: relative; margin-top: -9%; margin-left: 97%" /></li>
					<li style="margin-top: -32%">

						<table border="0" style="margin-left: 5px; text-align: center"
							width="90%" height="50%">

							<tr>
								<td>结构性资产<br> <span id="jgxzcspan">200</span>

								</td>
							</tr>
							<tr>

								<td style="height: 20px">

									<div id="jgxzcId"></div>

								</td>

							</tr>


						</table>

					</li>


					<li style="margin-top: 15px">

						<table border="0" style="margin-left: 5px; text-align: center"
							width="90%" height="50%">

							<tr>
								<td>经营性资产<br> <span id="jyxzcspan">200</span>

								</td>
							</tr>
							<tr>

								<td style="height: 20px">

									<div id="jyxzcId"></div>

								</td>

							</tr>


						</table>

					</li>
					<li><img src="images/l1.jpg"
						style="position: relative; margin-top: -9%; margin-left: 97%" /></li>
					<li style="margin-top: -32%">
						<table border="0" style="margin-left: 5px; text-align: center"
							width="90%" height="50%">

							<tr>
								<td>经营性负债<br> <span id="jyxfzspan">200</span>

								</td>
							</tr>
							<tr>

								<td style="height: 20px">

									<div id="jyxfzId"></div>

									<div id="jyxfzIds" style="display: none"></div>

								</td>

							</tr>


						</table>

					</li>




				</ul>

			</div>

			<div
				style="border: 0px solid red; width: 15%; height: 100%; margin-left: 60%; margin-top: -32.3%">

				<ul>

					<li style="border: 0px solid red; margin-left: 5px; width: 100%;">

						<table style="text-align: center; width: 90%">
							<tr>
								<td>营运资本<br> <span id="yyzbspan">1200</span></td>
							</tr>

							<tr>
								<td><div id="yyzbId" style=""></div></td>
							</tr>
							<tr>
								<td><div
										style="border: 0px solid red; height: 60px; margin-top: 10px">
										<span id="h1"></span>
									</div></td>
							</tr>
						</table>



					</li>

					<li
						style="border: 0px solid red; margin-left: 5px; margin-top: 25px;">
						<table style="text-align: center; width: 95%">
							<tr height="40px">
								<td><span style="margin-top: -20px; margin-left: 10px">营运资金需求</span>
									<br> <span id="yyzjxqspan" style="margin-top: -5px;">1200</span>
								</td>
							</tr>

							<tr>
								<td><div id="yyzjxqId"
										style="margin-left: 5px; margin-top: -5px"></div></td>
							</tr>

							<tr>
								<td><div
										style="border: 0px solid red; height: 60px; margin-top: 10px">
										<span id="h2">经营活动是协调的，可以放心</span>
									</div></td>
							</tr>
						</table>

					</li>

				</ul>
			</div>
			<div style="margin-left: 75%; margin-top: -28%">
				<img src="images/l2.jpg" />
			</div>
			<div
				style="border: 0px solid black; width: 25%; height: 100%; margin-left: 73%; margin-top: -21%">

				<div style="margin-top: 20px;">
					<span style="margin-left: 50px">现金支付能力(单位:万元)</span>
				</div>
				<div id="xjzfnlId" style="margin-left: 40px; margin-top: 10px"></div>
				<div id="xx"
					style="border: 0px solid red; width: 130px; margin-left: 70px; height: 60px; text-align: center">
					<span id="h4"></span>
				</div>


			</div>
		</div>
		<div
			style="border: 0px solid black; width: 100%; height: 44.5%; margin-left: 0%; margin-top: 0%;">

			<ul>
				<li style="float: left; width: 25%; height: 100%">
					<div
						style="border: 0px solid black; width: 100%; height: 310px; margin-left:0%; margin-top: 0%;">
						<div class="title1" style="margin-left: 50px; margin-top: 20px;">结构性资金面占用构成图</div>
						<div class="dom" id="pie1" class="lightbox"></div>
					</div>
				</li>
				<li style="float: left; width: 25%; height: 100%">
					<div
						style="border: 0px solid black; width: 100%; height: 310px; margin-left: 0%; margin-top: 0%;">
						<div class="title2" style="margin-left: 50px; margin-top: 20px">结构性负债面来源构成图</div>
						<div class="dom" id="pie2"></div>
					</div>
				</li>
				<li style="float: left; width: 25%; height: 100%">
					<div
						style="border: 0px solid black; width: 100%; height: 310px; margin-left: 0%; margin-top: 0%;">
						<div class="title3" style="margin-left: 50px; margin-top: 20px">经营性资金面占用构成图</div>
						<div class="dom" id="pie3"></div>
					</div>
				</li>
				<li style="float: left; width: 25%; height: 100%">
					<div
						style="border: 0px solid black; width: 100%; height: 310px; margin-left: 0%; margin-top: 0%;">
						<div class="title4" style="margin-left: 50px; margin-top: 20px">经营性负债面来源构成图</div>
						<div class="dom" id="pie4"></div>
					</div>
				</li>
			</ul>
		</div>

		<div style="border: 0px solid red; display: none;" id="p1">

			<div id="newpie1"></div>

		</div>

		<div style="border: 0px solid red; display: none;" id="p2">

			<div id="newpie2"></div>

		</div>

		<div style="border: 0px solid red; display: none;" id="p3">

			<div id="newpie3"></div>

		</div>

		<div style="border: 0px solid red; display: none;" id="p4">

			<div id="newpie4"></div>

		</div>

		<div style="border: 0px solid red; display: none" id="p5">
			<div id="tit">
				<center>应收账款占用情况</center>
			</div>
			<div id="yszkpie"></div>

		</div>
	</div>
</body>
<script type="text/javascript" src="js/capital_chainRes.js"></script>
<script type="text/javascript">
	
	Ext.onReady(function() {

		var slider_array = [ "kgcsjrzc", "gdzc", "wxzc", "cqjk", "sszb",
						"wfplr", "yszk", "qtysk", "ch", "yfzk", "yfzgxc",
						"qtyfk" ],
			progress_array = [ "jgxfz", "jgxzc","jyxzc", "jyxfz", "yyzb", "yyzjxq"], 
		 	index = slider_array.join() + ","
					+"yfkx,yjsf,yfgl,ynn,qtldzc,cyzdqtz,cqysk,cqgqtz,tzxfdc,zjgc,gcwz,gdzcql,"
					+"scxswzc,yqzc,kfzc,sy,cqdtfy,dysdszc,qtfldzc,yflx,ynnn,qtldfz,yfzq,cqyfk,"
					+"zxyfk,yjfz,dysdsfz,qtfldfz,zbgj,jkcg,yygj,yslx,ysgl,yskx,ssgdqy,gdqlhj,fldfzhj,"
					+"hbzj,jyxjrzc,yspj,dqjk,yfpj";
		/*   var company={id:"GS000011",text:"集团总公司"}; */
		var params = {
				query : 10,
				index : index,
				unit : qj.unit,
				company:company["id"], 
				year:qj.year,
				month:qj.month
			};
		var bean =	new Cnbi.model.Capital_Chain({
			slider_array : slider_array,
			progress_array : progress_array,
			pro : {width : 120},
			sli : {width : 100},
			params : params,
			domArray:["xjzfnlId","pie1","pie2","pie3","pie4","chartdiv","_cnbi_chartId"],
			updateInput : 'Idinput',
			updateSpan :'span',
			companyName:company["text"]
		});
	});
</script>

</html>
